import request from "./index";
const api = {
    getBanner(){
        return request({url:'/banner/iphone'})
    },
    getCates(){
        return request([{url:'/personalized'},{url:'/personalized/mv'}])
    },
    // songList页面
    getSongList(id){
        return request({url:'/playlist/detail?id='+id})
    },
    getSinger(cat,letter,offset){
        return request({url:'/artist/list?cat='+cat+'&initial='+letter+'&offset='+offset})
    },
    // 获取歌手歌单
    getSingerAlbum(id){
        return request({url: '/artists?id=' + id})
    },
    // 获取歌词;
    getLyric(id){
        return request({url:'/lyric?id='+id});
    }
}
export default api;